<?php

namespace app\admin\model;

use think\Db;
use think\Model;

class Permission extends Model
{
    public function getALL()
    {
        //        查询所有的权限信息
        $permission = Db::table('hb_permission')
            ->select();
        return $permission;
    }


}